<%@ page contentType="text/html; charset=UTF-8" %>

<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/tld/extend.tld" prefix="extend"%>

<html>
		<head>
			<title>乐盈培训网 - 搜索结果</title>
			<style type="text/css">
				a:visited {
					text-decoration: none; 
					color:black;
				}
				a:hover {
					text-decoration: underline; 
					color:red;
				}
			</style>
		</head>
	<body>
		<div style="position:absolute; height:100%; margin-left:100px; width:1045px; border-right: red 1px solid;
							border-left: red 1px solid; border-top: red 1px solid; ">
							
			<jsp:include page="header.jsp"></jsp:include>
			
			<div id="searchResult" style="margin-left:2px; margin-right:2px; margin-top:5px; border: green 1px solid;">
				
				<table cellpadding="0" cellspacing="0">
					
					<tr>
						<td>查询结果</td>
					</tr>
					<c:forEach items="${searchResult}" var="item">
						<tr>
							<table>
								<tr>
									<td>
										<a href="<extend:contextPath name='contextPath'/>/course/viewCourseDetail.do?method=viewCourseDetail
													&courseId=<c:out value="${item.courseId}"/>">
										<font color="#2200c1">
											<bean:write name="item" property="courseTitle" filter="false"/> 
										</font></a>
									</td>
								</tr>
								<tr>
									<td>
										<font size="2px" color="#999999">
										类别：<c:out value="${item.courseCategory}" />   地区：<c:out value="${item.courseCity}" />    时间：<c:out value="${item.courseStartTimeAsStr}" /></font>
									</td>
								</tr>
								<tr>
									<td>
										<c:out value="${item.courseMainPoint}" />
									</td>
								</tr>
							</table>
						</tr> 
						
					</c:forEach>
					
				</table>
				
				
			</div>		
							
		</div>
	</body>
</html>